package com.ddxz.tools.license.interceptor;

import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/6/8
 */
public class DdxzWebConfigurer implements WebMvcConfigurer {
    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        registry.addInterceptor(new LicenseIntercepter()).addPathPatterns("/**");
    }
}
